{include file="public/header" /}
<aside id="sitecontent" class="transition">
    {include file="public/search" /}
    <!-- main -->
    <section class="p25-20">
        <div class="location">{$cur_location|raw}</div>
        <div class="newstit">{$data.name}</div>
        <div class="location"> {$data.editor}&nbsp;&nbsp;&nbsp;&nbsp;{$data.category_name|default=''} &nbsp;&nbsp;&nbsp;&nbsp; {$data.create_time|date="Y-m-d"}</div>
    </section>
    <section class="p25-20 newinfo">
        {empty name="data.content"}
        <p><img src="{$data.thumb_url|default=''}"></p>
        {else /}
        {$data.content|raw}
        {/empty}
    </section>
    <section class="p25-20">
        <div class="newspage dis-flex-between">
            {empty name="prev"}
            <a href="javascript:void(0);"> 上一篇：无 </a>
            {else /}
            <a href="{:url('article/detail', ['category_id'=>$prev.category_id, 'id'=>$prev.id])}">上一篇 </a>
            {/empty}
            <a href="{:url('article/index', ['category_id'=>23])}">返回列表</a>
            {empty name="next"}
            <a href="javascript:void(0);"> 下一篇：无 </a>
            {else /}
            <a href="{:url('article/detail', ['category_id'=>$next.category_id, 'id'=>$next.id])}">下一篇</a>
            {/empty}
        </div>
    </section>
    <!-- main end-->
    {include file="public/footer" /}